package com.blog.service.interfaces;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.blog.model.Comment;

public interface ICommentService {
	public int addComment(Comment comment);
	
	public List<Comment> getCommentByArticleid(int link_articleId);
	
	public List<Comment> getCommentByCommentAuthor(@Param("link_articleId") int link_articleId,@Param("link_reply_comment_id") int link_reply_comment_id);

	public HashMap<Comment,List<Comment>> getCommentAndReplyByArticleid(int link_articleId);
}